<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/javaweb07/request02" method="post">
    用户名：<input type="text" name="username"><br>
    密  码：<input type="password" name="password"><br>
   爱好<input type="checkbox" name="hobby" value="youyong">游泳
    <input type="checkbox" name="hobby" value="youxi">游戏<br>
    <input type="submit" value="提交">
</form>

</body>
</html>